package com.cqust.icc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 张成
 * @version 1.0
 * @date 2022/3/17 14:48
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
        Student student = (Student) context.getBean("student");
        System.out.println(student);
    }
}
